Skip to content

Conversation

@akutz
Copy link
Collaborator

@akutz akutz commented Oct 27, 2025

What does this PR do, and why is it needed?

This patch updates the VM controller to filter any UPDATE events unless the VM's generation has changed. This ensures that all events related purely to status updates do not cause additional reconciles.

When there is an occasion to need to reconcile a VM due to what would have been a status change, it is possible to use the VM's channel-based source to enqueue an event.

Which issue(s) is/are addressed by this PR? (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes NA

Are there any special notes for your reviewer:

Please add a release note if necessary:

No longer reconciles VMs if only status is updated.

This patch updates the VM controller to filter any UPDATE
events unless the VM's generation has changed. This ensures
that all events related purely to status updates do not cause
additional reconciles.

When there is an occasion to need to reconcile a VM due to what
would have been a status change, it is possible to use the VM's
channel-based source to enqueue an event.
@github-actions github-actions bot added the size/M Denotes a PR that changes 30-99 lines. label Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant